Operations:

Format

Syntax:

Operation:

Operands:

Architecture revision

Opcode

1

br{cond3}disp

if (cond3)
      PC = PC + (SE(disp8) << 1);
else
      PC = PC + 2;
cond3 ∈ {eq, ne, cc/hs, cs/lo, ge, lt, mi, pl}
disp ∈ {-256, -254, ..., 254}

Rev1+

1100

disp8

0

cond3

4

8

1

3

2

br{cond4}disp

if (cond4)
      PC = PC + (SE(disp21) << 1);
else
      PC = PC + 4;
cond4 ∈ {eq, ne, cc/hs, cs/lo, ge, lt, mi, pl, ls, gt, le, hi, vs, vc, qs, al}
disp ∈ {-2097152, -2097150, ..., 2097150}

Rev1+

111

disp21[20:1]

0100

disp21

[16]

cond4

disp21[15:0]

3

4

4

1

4

16

Description

Branch if the specified condition is satisfied.

Status Flags:

Q:

Not affected.

V:

Not affected.

N:

Not affected.

Z:

Not affected.

C:

Not affected.